import { ref } from 'vue'

export default function () {
    let num = ref(0)

    function addNum() {
        num.value += 1
    }

    return { num, addNum }
}